package com.example.testgit.mapstruct;


import com.example.testgit.VO.ParentVO;
import com.example.testgit.entity.ParentDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface ParentConverter {
    ParentConverter INSTANCE = Mappers.getMapper(ParentConverter.class);

    ParentVO toVO(ParentDO parentDO);
    List<ParentVO> toVOList(List<ParentDO> parentDOList);
}
